<html>
<head>
 	
	<style type="text/css">
    #headtext {left:300px;
	position:fixed;
	top:1px;}
	#logo{z-index:1;left:0px;top: -1px;position:fixed;}
	#P1{z-index:2;left:-3px;top: 100px;position:fixed;}
	#P5{z-index:1;left:-20px;top: 100px;position:fixed;}
	#bot{z-index:2;bottom:0px;left:0px;position:fixed;}
	#lower{z-index:-9;bottom: -5px;left:600px;position:fixed;}
	#head{z-index:-5;top: 0px;left:200px;position:fixed;width :100%;height:60px;}
#token{ 
	position:fixed; z-index:1; left:1000px;top:150px;-webkit-border-radius: 2px;
	
}
#signin{ position:fixed; z-index:1; left:930px;top:16px;}
	
#token input[type="text"]{
	height: 45px;
	width: 250px;
	-webkit-border-radius: 4px;
	border-top-style: dotted;
	border-right-style: dotted;
	border-bottom-style: dotted;
	border-left-style: dotted;
	border-top-color: #CCC;
	border-right-color: #CCC;
	border-bottom-color:#CCC;
	border-left-color: #CCC;
}
#token input[type="submit"]{-webkit-border-radius: 5px;height: 45px;
	color: #FFF;
	width: 250px;
	background-color: #FC3;
	font-size: 24px;}
	
#signin input[type="text"]{
	-webkit-border-radius: 4px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #CCC;
	border-right-color: #CCC;
	border-bottom-color: #CCC;
	border-left-color: #CCC;
	font-family: calibri;
	font-size: 14px;
	word-spacing: normal;
	color: grey;
	height: 35px;
	width: auto;
	
	padding: 0px;
	
    }
	#B1 {top:100px;left:650px;position:fixed;z-index:-8;
	
	padding:5px;}
	
#B2 {top:290px;left:430px;position:fixed;z-index:-8;
	
	-webkit-border-radius: 5px;
	padding:5px;}
	#B3 {top:300px;left:635px;position:fixed;z-index:-8;
	
	padding:5px;}
	
	#B3 {top:180px;left:350px;position:fixed;z-index:-8;
	
	padding:5px;}
#signin input[type="submit"]{-webkit-border-radius: 5px;height:35px;background-color: #F63;font-size: 50x;width:80px;color: #FFF;font-family: cambria;}
	 
	#myGallery img{display:none; position:absolute; top:100px; left:-20px; z-index:2;}
    #myGallery img.active{ display:block;}
     
 	 </style>
     
     
</head>


<body >
<style  type="text/css">
#square{top:130px;left:20px; position: fixed}
</style>
</head>
<body>
<div id="square"></div>
<script src="http://d3js.org/d3.v3.min.js"></script>
<script>

var width = 650,
    height =450;

var nodes = d3.range(5).map(function() { return {radius: 50}; }),
    root = nodes[0],
    color = d3.scale.category10();

root.radius = 0;
root.fixed = true;

var force = d3.layout.force()
    .gravity(.05)
    .charge(function(d, i) { return i ? 0 : -2000; })
    .nodes(nodes)
    .size([width, height]);

force.start();

var svg = d3.select("#square").append("svg")
    .attr("width", width)
    .attr("height", height);

svg.selectAll("circle")
    .data(nodes.slice(1))
  .enter().append("circle")
    .attr("r", function(d) { return d.radius; })
    .style("fill", function(d, i) { if(i>1)return "#F30";if(i<3)return "#FFCC34" });

force.on("tick", function(e) {
  var q = d3.geom.quadtree(nodes),
      i = 0,
      n = nodes.length;

  while (++i < n) q.visit(collide(nodes[i]));

  svg.selectAll("circle")
      .attr("cx", function(d) { return d.x; })
      .attr("cy", function(d) { return d.y; });
});

svg.on("mousemove", function() {
  var p1 = d3.mouse(this);
  root.px = p1[0];
  root.py = p1[1];
  force.resume();
});

function collide(node) {
  var r = node.radius + 16,
      nx1 = node.x - r,
      nx2 = node.x + r,
      ny1 = node.y - r,
      ny2 = node.y + r;
  return function(quad, x1, y1, x2, y2) {
    if (quad.point && (quad.point !== node)) {
      var x = node.x - quad.point.x,
          y = node.y - quad.point.y,
          l = Math.sqrt(x * x + y * y),
          r = node.radius + quad.point.radius;
      if (l < r) {
        l = (l - r) / l * .5;
        node.x -= x *= l;
        node.y -= y *= l;
        quad.point.x += x;
        quad.point.y += y;
      }
    }
    return x1 > nx2 || x2 < nx1 || y1 > ny2 || y2 < ny1;
  };
}

</script>




<script type="text/javascript" src="progressbar.js"></script>

<div style="width: 100%; height: 100%; margin: 0px auto;">
<div id="my_progress_bar_1" style="position: relative; top: 45%; margin: 0px auto;"></div>
</div>


<script type="text/javascript">

var myProgressBar = null
var timerId = null

function loadProgressBar(){
	myProgressBar = new ProgressBar("my_progress_bar_1",{
		borderRadius: 10,
		width: 300,
		height: 20,
		maxValue: 100,
		labelText: "Loaded in {value,0} %",
		orientation: ProgressBar.Orientation.Horizontal,
		direction: ProgressBar.Direction.LeftToRight,
		animationStyle: ProgressBar.AnimationStyle.LeftToRight1,
		animationSpeed: 1.5,
		imageUrl: 'images/v_fg12.png',
		backgroundUrl: 'images/h_bg2.png',
		markerUrl: 'images/marker2.png'
	});
	
	timerId = window.setInterval(function() {
		if (myProgressBar.value >= myProgressBar.maxValue)
			myProgressBar.setValue(0);
		else
			myProgressBar.setValue(myProgressBar.value+1);
		
	},
	100);
}

loadProgressBar();
</script>





<div id="square"></div>

<input type="image" id="B1"  src="/n/B2.png"/>
<!input type="image" id="B3" style="height:300px;width:400px;" src="C:/Users/sony/Desktop/set/B4.png"/!>
<input type="image" id="B2" style="width:250px;" src="/n/AnaB2.png"/>
 <img id= "logo"  src = "/n/OfferHeap4.png"  />
 <img id= "head"  src = "/n/back.png"  />
 <img id= "headtext"  src = "/n/back2.png" />
 
 <img id= "bot"  src = "/n/bot.png"  />
 <img id= "lower"  src = "/n/lower3.png"  />
 <div id= "header_container">
       <div id = "header">
	   
       </div>
 </div>
 
 <form id="signin">
    <input  placeholder="               UserName"type="text"  name="user" >
    <input  placeholder="               Password"type="text" name="pwd">
    <input type="submit" name="submit" id="submit" value="Log In" >
	
  </form>
 <form id="token">
    <input  placeholder="  Please Enter Token for signing up!"type="text"  name="value" >
	 <input type="submit" name="submit" id="submit" value="SignUp" >
  </form>

<div id="myGallery">

</div>
</body>
</html>